import requestUtils from '@/common/utils/requestUtils.js'
import commonConstants from '@/common/constants/commonConstants.js'

export default{
	//删除签名
	deleteESignBatch(param, successCallback, errorCallback) {
	
		let url = commonConstants.request.context.path.ems + '/ems/eSign/deleteESignBatch';
		return requestUtils.delete(url, param, successCallback, errorCallback)
	},
	//获取个人签名列表
	getESignList(param, successCallback, errorCallback) {
	
		let url = commonConstants.request.context.path.ems + '/ems/eSign/getESignList';
		return requestUtils.getListByCondition(url, param, successCallback, errorCallback)
	},
	//获取个人签名列表
	insertESignBatch(param, successCallback, errorCallback) {
	
		let url = commonConstants.request.context.path.ems + '/ems/eSign/insertESignBatch';
		return requestUtils.insert(url, param, successCallback, errorCallback)
	},
	//校验个人是否需要维护签名
	doValidateLoginUserESign(param, successCallback, errorCallback) {
	
		let url = commonConstants.request.context.path.ems + '/ems/eSign/doValidateLoginUserESign';
		return requestUtils.insert(url, param, successCallback, errorCallback)
	},
}